<%--
  Created by IntelliJ IDEA.
  User: 李雨衡
  Date: 2022/12/7
  Time: 16:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="student.jsp" %>

<html>

<head>
    <title>Title</title>
    <style>
        .main {
            position: relative;
            width: 400px;
            height: 500px;
            background-color: darkgray;
            margin-left: 50px;
        }

        h6 {
            font-weight: 1000;
        }

        input {
            color: darkgray;
            height: 40px;
            width: 250PX;
            margin-top: 50px;
            border-radius: 5px;
        }

        .tijiao {
            position: absolute;
            width: 50px;
            height: 30px;
            background-color: white;
            left: 20%;
            color: black;
            border-radius: 5px;

        }

        button {
            position: absolute;
            left: 50%;
            margin-top: 50px;
        }
    </style>
</head>

<body>
<h6>设置个人信息</h6>
<form action="/student?stu_id=${Pstudent}&method=update" method="post">
    <div class="main">
        <div><span><h6>用户名(学号)</h6></span> ${Pstudent}</div>
        <div>中文名:<input required type="text" name="Cname" value=""/></div>
        <div>英文名:<input required type="text" name="Ename" value=""/></div>
        <div>新号码:<input required type="tel" pattern="^[1]+[3,8]+\d{9}$" name="Ntel" value=""/></div>
        <input type="submit" value="提交" class="tijiao">
        <button type="reset">重置</button>
    </div>
</form>
</body>
</html>
